using System;

namespace SharpFastCGI
{
	public interface OutputStream : IDisposable
	{
		bool IsClosed { get; }
		
		/*void BeginWrite(byte[] Buffer, int Offset, int Length);
		int EndWrite();*/
		int Write(byte[] Buffer, int Offset, int Length);
		void Flush();
		
		void Close();
	}
}
